﻿namespace CoreLibrary.Email {

    public class EmailAttachment {

        public string Name      { get; set; }
        public byte[] Content   { get; set; }
        public string MimeType  { get; set; }
        public string ContentId { get; set; }

        public EmailAttachment(string fileName, byte[] content) : 
            this (fileName, content, null) {
        }

        public EmailAttachment(string fileName, byte[] content, string mimeType) {
            Name     = fileName;
            Content  = content;
            MimeType = mimeType;
        }

    }

}